import Vue from 'vue'
import Vuex from 'vuex'
import loginModule from '@/store/module-login.js'
import globalModule from '@/store/module-global.js'

Vue.use(Vuex)

const store = new Vuex.Store({
  ...globalModule,
  modules: {
    login: loginModule
  }
})

export default store
